package config

import (
	"github.com/jassue/go-storage/kodo"
	"github.com/jassue/go-storage/local"
	"github.com/jassue/go-storage/oss"
	"github.com/jassue/go-storage/storage"
)

type Storage struct {
	Default storage.DiskName `json:"default" yaml:"default"` // local本地 oss阿里云 kodo七牛云
	Disks   Disks            `json:"disks" yaml:"disks"`
	Enable  Enable           `yaml:"enable"`
}

type Disks struct {
	Local  local.Config `json:"local" yaml:"local"`
	AliOss oss.Config   `json:"ali_oss" yaml:"ali_oss"`
	QiNiu  kodo.Config  `json:"qi_niu" yaml:"qi_niu"`
}

type Enable struct {
	LocalEnable  bool `yaml:"local_enable"`
	AliOssEnable bool `yaml:"ali_oss_enable"`
	QiNiuEnable  bool `yaml:"qi_niu_enable"`
}
